<?php
/**
 * author Cesky WEB s.r.o.
 * @component CWtags
 * @copyright Copyright (C) Pavel Stary, Cesky WEB s.r.o. extensions.cesky-web.eu
 * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License version 2 or later;
 */

defined('_JEXEC') or die( 'Restricted access' );
jimport('joomla.application.component.controller');

class MulticatsController extends JControllerLegacy {
	function display(){
		$format = JRequest::getString('format', '');
		$type = JRequest::getString('type', '');
		$view =  JRequest::getString('view','multicats');		
		JRequest::setVar('view',$view);  	
		parent::display();
	}
  
  public function multicats() 
  {
      
      require_once( JPATH_SITE.DS.'components'.DS.'com_multicats'.DS.'helpers'.DS.'multicats.php' );

      MulticatsHelper::multicats();

      return;
  }   
}